/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax.game.display;

/**
 *
 * @author pson
 */
public class SineEasing implements Easing {

    //min of 5% of desired speed
    private static float MIN = 0.05f;
    @Override
    public float getFactor(float c) {
        return (float)Math.max(MIN, Math.sin(c / Math.PI));
    }
    
    
}
